package cn.edu.hunan.pm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//MapperScan注解指定当前项目中的Mapper接口路径的位置,在项目启动时会自动加载所有的接口文件
@MapperScan("cn.edu.hunan.pm.mapper")
public class SpringbootlearnApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootlearnApplication.class, args);
    }

}
